package compableAndcompletor;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class User {
//implements Comparable<User>
    private Integer age;


//    @Override
//    public int compareTo(User o) {
//        return this.age - o.getAge();
//    }
}
